package cn.ac.jaas.isc.vegetable.pbms.service;

import cn.ac.jaas.isc.vegetable.common.core.util.R;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.ac.jaas.isc.vegetable.pbms.api.entity.ArcHouse;

/**
 * 温室表
 *
 * @author 张高昌
 * @date 2022-05-02 09:38:48
 */
public interface ArcHouseService extends IService<ArcHouse> {

    /**
     * 保存温室
     *
     * @param arcHouse
     * @return
     */
    R saveHouse(ArcHouse arcHouse);

    /**
     * 根据id修改温室
     *
     * @param arcHouse
     * @return
     */
    R updateHouseById(ArcHouse arcHouse);

    /**
     * 根据温室id删除
     *
     * @param houseId
     * @return
     * @author 张高昌
     * @date 2022-07-30 16:24
     */
    R removeHouseById(Integer houseId);

}
